package com.sports.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.ext.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.*;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "favorites")
public class FavoritesPo extends BasePo<FavoritesPo> implements Serializable{

    private static final long serialVersionUID = 1L;

    public FavoritesPo(){

    }
    public FavoritesPo(Long id){
        this.id = id;
    }

    private Long sportsId;

    /**
     * 类型：1 点赞、2 收藏 INT
     */
    private Integer type;

    /**
     * 用户id INT
     */
    private Long userId;

}






